package com.smedi.ismedi.inmail.api.dto.request;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 总院发布的通知公告请求
 *
 * @author jiangqinxuan
 * &#064;date  2021/07/27
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class LoginLogUserStaticsPageRequest implements Serializable {
    /**
     * 管理组织及主体院
     */
    @ApiModelProperty(value = "管理组织及主体院")
    private Long organizationId;
    /**
     * 姓名/工号
     */
    @ApiModelProperty(value = "姓名/工号")
    private String nameOrEmployeeNum;
    /**
     * 分页行数
     */
    @NotNull(message = "分页行数不能为空！")
    @ApiModelProperty(value = "分页行数")
    private Long size;
    /**
     * 当前页数
     */
    @NotNull(message = "当前页数不能为空！")
    @ApiModelProperty(value = "当前页数")
    private Long current;

    /**
     * 排序列名
     */
    @Schema(description = "列名 驼峰使用")
    private String columnName;

    /**
     * 是否升序
     */
    @Schema(description = "是否升序")
    private Boolean isAsc;
}